package edu.sdjzu.exam.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class AssignTeacherDTO {
    @NotNull(message = "教师ID不能为空")
    private Long teacherId;
    
    @NotNull(message = "课程ID不能为空")
    private Long courseId;
    
    @NotBlank(message = "权限类型不能为空")
    private String permissionType; // read, write, admin
}